<#import "/freemarker/modeltype.ftl" as mt>
<div class="dataTables_title">
	<div class="dataTables_title_left">按钮注释</div>
	<div class="dataTables_title_right">
		<a class="btn btn-warning" href="#"><i class=" icon-arrow-left"></i> 恢复</a>
		<a class="btn btn-danger" href="#"><i class="icon-remove"></i> 删除</a>
	</div>
</div>
<div id="tabs-3" style="padding-bottom:0px;">
	<table class="table table-bordered mailinbox">
		<thead>
			<tr>
				<th style="width:80px;">邮件编号</th>
				<th>主题</th>
				<th  style="width:150px;">日期</th>
				<th style="width:80px;">操作</th>
			</tr>
		</thead>
		<#list pageBean.resultList as message>
		<tbody>
			<tr class="unread">
				<td>${(message.code)!''}</td>
				<td>${(message.title)!''}</td>
				<td class="date">${(message.ct?string('yyyy-MM-dd'))!''}</td>
				<td style="text-align:right;">
					<a class="btn btn-xs btn-warning icon-arrow-left" title="恢复" onclick="javascript: Restoration_message('${message.code}');"></a>
					<a class="btn btn-xs btn-danger icon-remove" title="彻底删除" onclick="javascript: deleteMessage_message('${message.code}');"></a>
					</button>
				</td>
			</tr>
		</tbody>
		</#list>
	</table>
	<#import "/freemarker/pagination.ftl" as p><@p.pagination pageBean 'queryMessage_message' />
</div>
